using System;
using System.Xml.Serialization;

namespace Carmall.Entity
{
    [Serializable]
    public class NewsInfo : BaseEntity
    {    
        #region Field Members

        private int m_NewsID = 0;         
        private int m_NewsCategory = 0;         
        private string m_Title = "";         
        private string m_Content = "";         
        private DateTime m_Created = System.DateTime.Now;         
        private int m_Display = 0;         

        #endregion

        #region Property Members
        
        public virtual int NewsID
        {
            get
            {
                return this.m_NewsID;
            }
            set
            {
                this.m_NewsID = value;
            }
        }

        public virtual int NewsCategory
        {
            get
            {
                return this.m_NewsCategory;
            }
            set
            {
                this.m_NewsCategory = value;
            }
        }

        public virtual string Title
        {
            get
            {
                return this.m_Title;
            }
            set
            {
                this.m_Title = value;
            }
        }

        public virtual string Content
        {
            get
            {
                return this.m_Content;
            }
            set
            {
                this.m_Content = value;
            }
        }

        public virtual DateTime Created
        {
            get
            {
                return this.m_Created;
            }
            set
            {
                this.m_Created = value;
            }
        }

        public virtual int Display
        {
            get
            {
                return this.m_Display;
            }
            set
            {
                this.m_Display = value;
            }
        }


        #endregion

    }
}